//-----------------------------------------------------------------------
// <copyright file="OrganizationCalendarSession.cs" company="Procure Development">
//     Copyright (c) Procure Development. All rights reserved.
// </copyright>
// <author>Victor Procure</author>
//-----------------------------------------------------------------------

using System;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;

namespace SManagement.Models
{
    /// <summary>
    /// A prescribed span of time when an education institution is open, instruction is provided,
    /// and students are under the direction and guidance of teachers and/or education
    /// institution administration.
    /// </summary>
    public class OrganizationCalendarSession
    {
        #region Instance Properties

        [BsonId]
        public ObjectId _id { get; set; }

        public string Designator { get; set; }

        public DateTime? BeginDate { get; set; }

        public DateTime? EndDate { get; set; }

        public ObjectId? RefSessionTypeId { get; set; }

        public decimal? InstructionalMinutes { get; set; }

        public string Code { get; set; }

        public string Description { get; set; }

        public bool? MarkingTermIndicator { get; set; }

        public bool? SchedulingTermIndicator { get; set; }

        public bool? AttendanceTermIndicator { get; set; }

        public ObjectId? OrganizationCalendarId { get; set; }

        public ObjectId? DaysInSession { get; set; }

        public DateTime? FirstInstructionDate { get; set; }

        public DateTime? LastInstructionDate { get; set; }

        public ObjectId? MinutesPerDay { get; set; }

        public TimeSpan? SessionStartTime { get; set; }

        public TimeSpan? SessionEndTime { get; set; }

        #endregion Instance Properties
}

}